package com.example.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 办公用品申领对象 office_claim
 * 
 * @author whj
 * @date 2024-09-20
 */
public class OfficeClaim extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicant;

    /** 申请部门 */
    @Excel(name = "申请部门")
    private String departmentName;

    /** 申请类型 */
    @Excel(name = "申请类型")
    private String applyType;

    /** 经办人 */
    @Excel(name = "经办人")
    private String attn;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 申请物品名称 */
    @Excel(name = "申请物品名称")
    private String applyName;

    /** 申请品牌/型号 */
    @Excel(name = "申请品牌/型号")
    private String applyBrand;

    /** 物品单位 */
    @Excel(name = "物品单位")
    private String itemsUnit;

    /** 数量 */
    @Excel(name = "数量")
    private Long account;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long approvalStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setApplyType(String applyType) 
    {
        this.applyType = applyType;
    }

    public String getApplyType() 
    {
        return applyType;
    }
    public void setAttn(String attn) 
    {
        this.attn = attn;
    }

    public String getAttn() 
    {
        return attn;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setApplyName(String applyName) 
    {
        this.applyName = applyName;
    }

    public String getApplyName() 
    {
        return applyName;
    }
    public void setApplyBrand(String applyBrand) 
    {
        this.applyBrand = applyBrand;
    }

    public String getApplyBrand() 
    {
        return applyBrand;
    }
    public void setItemsUnit(String itemsUnit) 
    {
        this.itemsUnit = itemsUnit;
    }

    public String getItemsUnit() 
    {
        return itemsUnit;
    }
    public void setAccount(Long account) 
    {
        this.account = account;
    }

    public Long getAccount() 
    {
        return account;
    }
    public void setApprovalStatus(Long approvalStatus) 
    {
        this.approvalStatus = approvalStatus;
    }

    public Long getApprovalStatus() 
    {
        return approvalStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicant", getApplicant())
            .append("departmentName", getDepartmentName())
            .append("applyType", getApplyType())
            .append("attn", getAttn())
            .append("applyTime", getApplyTime())
            .append("submitTime", getSubmitTime())
            .append("applyName", getApplyName())
            .append("applyBrand", getApplyBrand())
            .append("itemsUnit", getItemsUnit())
            .append("account", getAccount())
            .append("remark", getRemark())
            .append("approvalStatus", getApprovalStatus())
            .toString();
    }
}
